package com.zwz.model.product;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.Date;

@Data
public class SoftwareCopyright {
    @JsonProperty("entity_type")
    private String entityType;

    @JsonProperty("srSoftwareShortName")
    private String softwareShortName;

    @JsonProperty("srSoftwareName")
    private String softwareFullName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("srRegisterDate")
    private Date registrationDate;

    @JsonProperty("srRegisterNum")
    private String registrationNumber;

    @JsonProperty("srSoftwareVersion")
    private String softwareVersion;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty(value = "srPubDate", required = false)
    private Date publicationDate; // 可选字段

    @JsonProperty("_id")
    private String  id;

    @JsonProperty("nameId")
    private String nameIdentifier;
}